<%--
  Created by IntelliJ IDEA.
  User: JesseChan
  Date: 2022/5/12
  Time: 18:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户登录</title>
    <link href="css/bootstrap.css" rel="stylesheet">
    <link href="css/font-awesome.css" rel="stylesheet">

    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">
</head>
<body class="gray-bg">
<div class="middle-box text-center loginscreen animated fadeInDown">
    <div>
        <div>

            <h1 class=logo-name>Au</h1>

        </div>
        <h3>欢迎登录图书管理系统</h3>
        <p>蹩脚Group呈现</p>
        <form class="m-t" role="form" action="login" method="post" id="loginForm">
            <div class="form-group">
                <input type="text" name="userName" class="form-control" placeholder="用户名" required="">
            </div>
            <div class="form-group">
                <input type="password" name="userPassword" class="form-control" placeholder="密码" required="">
            </div>
            <span id="warningMsg" style="font-size: 12px;color: red">${messageModel.msg}</span><br>
            <button type="submit" class="btn btn-primary block full-width m-b" id="btn_login">登录</button>
            <p class="text-muted text-center"><small>还没有账号?</small></p>
            <a class="btn btn-sm btn-white btn-block" href="register.jsp">创建一个帐户</a>

        </form>
    </div>
</div>
</body>

<!-- Mainly scripts -->
<script src="js/jquery-3.6.0.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.bundle.js"></script>

<script>


    function isEmpty(str) {
        return str == null || str.trim() == "";
    }
</script>
</html>
